package com.example.water.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 台风详细信息表
 * @TableName wind_info
 */
@TableName(value ="wind_info")
@Data
public class WindInfo implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "主键id")
    private Integer id;

    /**
     * 台风编号
     */
    @Schema(description = "台风编号")
    private Integer windid;

    /**
     * 时间
     */
    @Schema(description = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date tm;

    /**
     * 经度
     */
    @Schema(description = "经度")
    private Double jindu;

    /**
     * 纬度
     */
    @Schema(description = "纬度")
    private Double weidu;

    /**
     * 风力
     */
    @Schema(description = "风力")
    private String windstrong;

    /**
     * 风速
     */
    @Schema(description = "风速")
    private String windspeed;

    /**
     * 气压
     */
    @Schema(description = "气压")
    private String qiya;

    /**
     * 移动风速
     */
    @Schema(description = "移动速度")
    private String movespeed;

    /**
     * 风向
     */
    @Schema(description = "风向")
    private String movedirect;

    /**
     * 半径1
     */
    @Schema(description = "半径1")
    private Integer sevradius;

    /**
     * 半径2
     */
    @Schema(description = "半径2")
    private Integer tenradius;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}